
#ifndef LAYERBOARD_H
#define LAYERBOARD_H

#include <BTableWidget>

using namespace BWE;

class LayersBoard : public BTableWidget
{
	BOBJECT(LayersBoard);
public:
	LayersBoard(BWidget* parent = 0);
	~LayersBoard();

protected:
	virtual void paintEvent(const BEvent& event);

	virtual void mousePressEvent(const BMouseEvent& event);
	virtual void mouseReleaseEvent(const BMouseEvent& event);
	virtual void mouseMoveEvent(const BMouseEvent& event);

	//virtual void dragEnterEvent(const BDragEvent& event);
	//virtual void dragLeaveEvent(const BDragEvent& event);
	//virtual void dragMoveEvent(const BDragEvent& event);
	//virtual void dragDropEvent(const BDragEvent& event);

private:
	int		_pressedRow;
	int		_hoveredRow;
};

#endif
